package com.ozo.boot.gen.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 表配置VO
 * </p>
 *
 * @author qiangesoft
 * @date 2024-03-28
 */
@Data
@Schema(description = "表配置视图对象")
public class GenTableVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    private Long id;

    @Schema(description = "新建方式：1-导入 2-新建")
    private String tableType;

    @Schema(description = "表名称")
    private String tableName;

    @Schema(description = "表注释")
    private String tableComment;

    @Schema(description = "生成作者")
    private String genAuthor;

    @Schema(description = "生成版本号")
    private String genVersion;

    @Schema(description = "后端生成路径")
    private String genBackendPath;

    @Schema(description = "前端生成路径")
    private String genFrontPath;

    @Schema(description = "生成包路径")
    private String genPackage;

    @Schema(description = "生成模块名")
    private String genModule;

    @Schema(description = "生成实体类名")
    private String genClass;

    @Schema(description = "生成功能描述")
    private String genFunction;

    @Schema(description = "上级菜单id")
    private Long parentMenuId;

    @Schema(description = "表格类型")
    private String genPageTableType;

    @Schema(description = "表单类型")
    private String genPageFormType;

    @Schema(description = "生成页面表单打开方式")
    private String genPageFormOpen;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

}
